package com.andnnl.pojo.sms;

import org.beetl.sql.core.annotatoin.Table;

import java.math.BigDecimal;
import java.util.Date;


/* 
* 
* gen by beetlsql 2019-05-22
*/
@Table(name = "mms_send_mobiles")
public class SendMobiles {

    // alias
    public static final String ALIAS_id = "id";
    public static final String ALIAS_gateway = "gateway";
    public static final String ALIAS_mobileType = "mobileType";
    public static final String ALIAS_priority = "priority";
    public static final String ALIAS_result = "result";
    public static final String ALIAS_status = "status";
    public static final String ALIAS_taskId = "taskId";
    public static final String ALIAS_templateId = "templateId";
    public static final String ALIAS_area = "area";
    public static final String ALIAS_clientMsgId = "clientMsgId";
    public static final String ALIAS_cost = "cost";
    public static final String ALIAS_extNum = "extNum";
    public static final String ALIAS_mobile = "mobile";
    public static final String ALIAS_msgId = "msgId";
    public static final String ALIAS_price = "price";
    public static final String ALIAS_statusCode = "statusCode";
    public static final String ALIAS_uid = "uid";
    public static final String ALIAS_createdTime = "createdTime";
    public static final String ALIAS_deliverTime = "deliverTime";
    public static final String ALIAS_sendTime = "sendTime";
    public static final String ALIAS_submitTime = "submitTime";

    private Long id;
    private Integer gateway;
    private Integer mobileType;
    private Integer priority;
    private Integer result;//结果，0：未知，1成功，2失败
    private Integer status;//提交状态， 0默认 1已审 2待发 3提交成功 4提交失败，已审和待发目前可以不用
    private Integer taskId;
    private Integer templateId;
    private String area;
    private String clientMsgId;
    private BigDecimal cost;
    private String extNum;
    private String mobile;
    private String msgId;
    private BigDecimal price;
    private String statusCode;
    private String uid;
    private Date createdTime;
    private Date deliverTime;
    private Date sendTime;
    private Date submitTime;

    private Integer qrySendStatus;//查询发送状态
    private Integer qryMobileType;//号码类型，1:联通，2：移动，3：电信 
    private Date qrySendTimeForm;
    private Date qrySendTimeTo;
    private int reSend; //重发，0:未补发，1：补发(新的)，2：被补发(旧的)


    public int getReSend() {
        return reSend;
    }

    public void setReSend(int reSend) {
        this.reSend = reSend;
    }

    public Date getQrySendTimeForm() {
        return qrySendTimeForm;
    }

    public void setQrySendTimeForm(Date qrySendTimeForm) {
        this.qrySendTimeForm = qrySendTimeForm;
    }

    public Date getQrySendTimeTo() {
        return qrySendTimeTo;
    }

    public void setQrySendTimeTo(Date qrySendTimeTo) {
        this.qrySendTimeTo = qrySendTimeTo;
    }

    public Integer getQryMobileType() {
        return qryMobileType;
    }

    public void setQryMobileType(Integer qryMobileType) {
        this.qryMobileType = qryMobileType;
    }

    public Integer getQrySendStatus() {
        return qrySendStatus;
    }

    public void setQrySendStatus(Integer qrySendStatus) {
        this.qrySendStatus = qrySendStatus;
    }

    public SendMobiles() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getGateway() {
        return gateway;
    }

    public void setGateway(Integer gateway) {
        this.gateway = gateway;
    }

    public Integer getMobileType() {
        return mobileType;
    }

    public void setMobileType(Integer mobileType) {
        this.mobileType = mobileType;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getClientMsgId() {
        return clientMsgId;
    }

    public void setClientMsgId(String clientMsgId) {
        this.clientMsgId = clientMsgId;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getExtNum() {
        return extNum;
    }

    public void setExtNum(String extNum) {
        this.extNum = extNum;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }


}
